using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GBMS.MODEL
{
    [Serializable]
    public class ExpenseGroupInfo
    {
        private int seq;
        private string code;
        private string name;
        private string descr;
        private string status;
        private string gfmis_code;
        private SourceInfo srcInfo;
        private ExpenseGroupInfo expGrpInfo;
        private UserRecordInfo usrInfo;

        public ExpenseGroupInfo()
        {

        }

        public ExpenseGroupInfo(int seq)
        {
            this.seq = seq;
        }

        public ExpenseGroupInfo(int seq, string code, string name, string descr, string status, string gfmis_code
            , ExpenseGroupInfo expGrpInfo, SourceInfo srcInfo, UserRecordInfo usrInfo)
        {
            this.seq = seq;
            this.code = code;
            this.name = name;
            this.descr = descr;
            this.status = status;
            this.gfmis_code = gfmis_code;
            this.srcInfo = srcInfo;
            this.expGrpInfo = expGrpInfo;
            this.usrInfo = usrInfo;
        }

        ~ExpenseGroupInfo()
        {

        }

        public virtual void Dispose()
        {

        }

        public int Sequence
        {
            get
            {
                return seq;
            }
            set
            {
                seq = value;
            }
        }

        public string Code
        {
            get
            {
                return code;
            }
            set
            {
                code = value;
            }
        }

        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }

        public string Description
        {
            get
            {
                return descr;
            }
            set
            {
                descr = value;
            }
        }

        public string Status
        {
            get
            {
                return status;
            }
            set
            {
                status = value;
            }
        }

        public string Gfmis_code
        {
            get
            {
                return gfmis_code;
            }
            set
            {
                gfmis_code = value;
            }
        }

        public SourceInfo Source
        {
            get
            {
                return srcInfo;
            }
            set
            {
                srcInfo = value;
            }
        }

        public ExpenseGroupInfo Parent
        {
            get
            {
                return expGrpInfo;
            }
            set
            {
                expGrpInfo = value;
            }
        }

        public UserRecordInfo User
        {
            get
            {
                return usrInfo;
            }
            set
            {
                usrInfo = value;
            }
        }
    }
}